package com.xqboss.apps.dto.punch;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * <p>
 * 解锁卡槽参数
 * </p>
 *
 * @author Administrator
 */
@Data
@ApiModel
public class UserPunchSlotDto {

    @ApiModelProperty(value = "卡槽id", required = true)
    @NotNull(message = "卡槽id不能为空")
    private Long slotId;

    @ApiModelProperty(value = "类型 0解锁 1加时", required = true)
    @NotNull(message = "类型不能为空")
    private Integer type;
}
